package com.lazyboyl.spring.boot.sharding.sphere.proxy.net.handler.backend;

/**
 * @author linzf
 * @since 2021-07-02
 * 类描述：后端连接的状态
 */
public interface BackendConnState {

    // 后端连接尚未初始化
    int BACKEND_NOT_AUTHED = 0;
    // 后端连接初始化成功
    int BACKEND_AUTHED = 1;

    // must 连续
    int RESULT_SET_FIELD_COUNT = 2;
    int RESULT_SET_FIELDS = 3;
    int RESULT_SET_EOF = 4;
    int RESULT_SET_ROW = 5;
    int RESULT_SET_LAST_EOF = 6;
}